import com.major.Server;

public class TestPath {
    public static void main(String[] args) {
        String path = Server.class.getProtectionDomain().getCodeSource().getLocation().getPath();
        path = path.substring(0, path.lastIndexOf("/")) + "/pages/";
        System.out.println(path);
    }
}
